import request from '@/utils/request'

// 查询手牌基础信息列表
export function listHands(query) {
  return request({
    url: '/project/ljw/hands/list',
    method: 'get',
    params: query
  })
}

// 查询手牌基础信息详细
export function getHands(id) {
  return request({
    url: '/project/ljw/hands/' + id,
    method: 'get'
  })
}

// 新增手牌基础信息
export function addHands(data) {
  return request({
    url: '/project/ljw/hands',
    method: 'post',
    data: data
  })
}

// 修改手牌基础信息
export function updateHands(data) {
  return request({
    url: '/project/ljw/hands',
    method: 'put',
    data: data
  })
}

// 删除手牌基础信息
export function delHands(id) {
  return request({
    url: '/project/ljw/hands/' + id,
    method: 'delete'
  })
}
